package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 举报对象 report
 *
 * @author jiwei
 * @date 2024-05-16
 */
@TableName(resultMap = "com.ruoyi.web.mapper.ReportMapper.ReportResult")
public class Report extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** ID */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 举报原因 */
            @Excel(name = "举报原因")
    private String description;

    /** 来源类型 */
            @Excel(name = "来源类型")
    private Long fromType;

    /** 来源ID */
            @Excel(name = "来源ID")
    private Long fromId;

    /** 状态 */
            @Excel(name = "状态")
    private Long status;

    /** 审核备注 */
            @Excel(name = "审核备注")
    private String verifyRemark;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createAt;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updateAt;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setDescription(String description)
            {
            this.description = description;
            }

    public String getDescription()
            {
            return description;
            }
    public void setFromType(Long fromType)
            {
            this.fromType = fromType;
            }

    public Long getFromType()
            {
            return fromType;
            }
    public void setFromId(Long fromId)
            {
            this.fromId = fromId;
            }

    public Long getFromId()
            {
            return fromId;
            }
    public void setStatus(Long status)
            {
            this.status = status;
            }

    public Long getStatus()
            {
            return status;
            }
    public void setVerifyRemark(String verifyRemark)
            {
            this.verifyRemark = verifyRemark;
            }

    public String getVerifyRemark()
            {
            return verifyRemark;
            }
    public void setCreateAt(Date createAt)
            {
            this.createAt = createAt;
            }

    public Date getCreateAt()
            {
            return createAt;
            }
    public void setUpdateAt(Date updateAt)
            {
            this.updateAt = updateAt;
            }

    public Date getUpdateAt()
            {
            return updateAt;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("description", getDescription())
            .append("fromType", getFromType())
            .append("fromId", getFromId())
            .append("status", getStatus())
            .append("verifyRemark", getVerifyRemark())
            .append("createBy", getCreateBy())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateAt", getUpdateAt())
        .toString();
        }
        }
